from common.locate_by import By

class LocCarAdd:

    loc_sure = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.button,
        "loc_name": "确 定",
    }

    loc_cancel = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.button,
        "loc_name": "取 消",
    }

    loc_close = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_storage_address = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "停放位置:",
    }

    loc_area_code = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "* 行政区域:",
    }

    loc_latitude = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "纬度:",
    }

    loc_longtitude = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "经度:",
    }

    loc_in_out_status = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "出动状态:",
    }

    loc_enterprise_id = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "所属单位:",
    }

    loc_park_code = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "* 园区名称:",
    }

    loc_car_no = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 车牌号码:",
    }

    loc_name = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 车辆名称:",
    }

    loc_em_car_type = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "* 车辆类型:",
    }

    loc_specification = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "规格型号:",
    }

    loc_technical_parameter = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "功能或技术参数:",
    }

    loc_em_car_status = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "* 车辆状态:",
    }

    loc_use = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 用途:",
    }

    loc_requirement = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 存储和运输要求:",
    }

    loc_affiliated_unit = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 所属单位:",
    }

    loc_resident_position_id = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "停放位置:",
    }

    loc_geom = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "坐标信息:",
    }
    loc_geom_close = {
        "page_role": By.dialog,
        "page_title": "坐标信息",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_resident_position_desc = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 停放位置描述:",
    }

    loc_director = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 负责人:",
    }

    loc_telephone = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 联系电话:",
    }
